package com.atguigu.gamll_sugar.service.impl;

import com.atguigu.gamll_sugar.entity.ProvinceStats;
import com.atguigu.gamll_sugar.mapper.ProvinceStatsMapper;
import com.atguigu.gamll_sugar.service.ProvinceStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenlongStart
 * @create 2021-07-07 18:56
 * @desc
 */
@Service
public class ProvinceStatsServiceImpl implements ProvinceStatsService {

    @Autowired
    ProvinceStatsMapper province;

    @Override
    public List<ProvinceStats> getProvinceGMV(int date) {
        return province.getProvinceGMV(date);
    }
}
